package com.arpa.oms.domain.dto;

import com.arpa.ntocc.common.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * <p>
 * OMS入库单明细DTO
 * </p>
 *
 * @author LEO
 * @since 2020-11-07
 */
@Data
@ApiModel(value="OmsInboundItemDTO对象", description="OMS入库单明细")
public class OmsInboundItemDTO extends BasicEntity {


    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "入库单号")
    private String inboundCode;

    @ApiModelProperty(value = "商品标识")
    private String goodsCode;

    @ApiModelProperty(value = "商品编码")
    private String goodCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品条码")
    private String goodsBarCode;

    @ApiModelProperty(value = "商品规格")
    private String spec;

    @ApiModelProperty(value = "基本单位")
    private String basicUnit;

    @ApiModelProperty(value = "基本单位名称")
    private String basicUnitName;

    @ApiModelProperty(value = "入库数量（基本单位）")
    private BigDecimal storageQuantity;

    @ApiModelProperty(value = "税率")
    private BigDecimal taxRate;

    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;

    @ApiModelProperty(value = "含税单价")
    private BigDecimal taxUnitPrice;

    @ApiModelProperty(value = "金额")
    private BigDecimal amountMoney;

    @ApiModelProperty(value = "税额")
    private BigDecimal taxMoney;

    @ApiModelProperty(value = "价税合计")
    private BigDecimal totalMoney;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "创建人名称")
    private String createdName;

    @ApiModelProperty(value = "修改人名称")
    private String modifiedName;


    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;
}
